package com.atguigu.factory.abstractfactory;

/**
 * @author xgc
 * @create 2021-07-22 14:03
 */
public interface Screen {
    void size();

    class Screen5 implements Screen{

        @Override
        public void size() {
            System.out.println("5寸");
        }
    }

    class Screen6 implements Screen{

        @Override
        public void size() {
            System.out.println("6寸");
        }
    }
}
